IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[DeleteBanco]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[DeleteBanco]
GO

CREATE PROCEDURE [dbo].[DeleteBanco]
(
	@IdBanco int
)
AS
BEGIN
	SET NOCOUNT ON

	DELETE FROM [Banco]
	WHERE [IdBanco] = @IdBanco

	SET NOCOUNT OFF
END

GO
